package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.demo.domain.SysPayProductExample;
import com.example.demo.domain.SysPayProduct;
import com.example.demo.mapper.SysPayProductMapper;
import com.example.demo.service.SysPayProductService;
@Service
public class SysPayProductServiceImpl implements SysPayProductService{

    @Resource
    private SysPayProductMapper sysPayProductMapper;

    @Override
    public long countByExample(SysPayProductExample example) {
        return sysPayProductMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysPayProductExample example) {
        return sysPayProductMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long productId) {
        return sysPayProductMapper.deleteByPrimaryKey(productId);
    }

    @Override
    public int insert(SysPayProduct record) {
        return sysPayProductMapper.insert(record);
    }

    @Override
    public int insertSelective(SysPayProduct record) {
        return sysPayProductMapper.insertSelective(record);
    }

    @Override
    public List<SysPayProduct> selectByExample(SysPayProductExample example) {
        return sysPayProductMapper.selectByExample(example);
    }

    @Override
    public SysPayProduct selectByPrimaryKey(Long productId) {
        return sysPayProductMapper.selectByPrimaryKey(productId);
    }

    @Override
    public int updateByExampleSelective(SysPayProduct record,SysPayProductExample example) {
        return sysPayProductMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysPayProduct record,SysPayProductExample example) {
        return sysPayProductMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysPayProduct record) {
        return sysPayProductMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysPayProduct record) {
        return sysPayProductMapper.updateByPrimaryKey(record);
    }

}
